class CreateDocMains < ActiveRecord::Migration
  def change
    create_table :doc_mains do |t|
      t.integer :userid
      t.integer :cateid
      t.string :title
      t.string :content
      t.string :key

      t.timestamps
    end
  end
end
